<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <title>银行卡挂失</title>
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
</head>
<body class="bg-light">
<div class="container mt-5">
    <div class="row justify-content-center">
        <div class="col-md-6">
            <div class="card shadow">
                <div class="card-body">
                    <h2 class="card-title text-center mb-4">银行卡挂失</h2>
                    {% with messages = get_flashed_messages() %}
                        {% if messages %}
                            {% for message in messages %}
                                <div class="alert alert-danger">{{ message }}</div>
                            {% endfor %}
                        {% endif %}
                    {% endwith %}
                    <div class="alert alert-warning">
                        <h4 class="alert-heading">警告！</h4>
                        <p>您正在对银行卡进行挂失操作，挂失后：</p>
                        <ul>
                            <li>银行卡将立即被冻结</li>
                            <li>所有交易将被禁止</li>
                            <li>需要联系银行工作人员处理后续事宜</li>
                        </ul>
                    </div>
                    <form method="POST" onsubmit="return confirm('确定要挂失该银行卡吗？此操作不可撤销！');">
                        <div class="d-grid gap-2">
                            <button type="submit" class="btn btn-danger">确认挂失</button>
                            <a href="{{ url_for('customer_dashboard') }}" class="btn btn-outline-secondary">返回仪表盘</a>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
</html> 